package longshu.srpc.client;

import longshu.srpc.api.RpcRequest;
import longshu.srpc.api.RpcResponse;

import java.io.IOException;

/**
 * RpcConnector 负责维持客户方和服务方的连接和发送数据到服务方
 *
 * @author LongShu 2017/12/03
 */
public interface RpcConnector {

    RpcResponse send(RpcRequest rpcRequest) throws IOException;

}
